package com.artPreter.service;

import com.artPreter.pojo.*;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 艺术品表 服务类
 * </p>
 *
 * @author jarvis
 * @since 2024-11-14
 */
public interface IArtworkService extends IService<Artwork> {


    List<Artwork> getRecommendArtworks(int i);

    List<Artwork> getIndexArtworks(int i);

    List<Artwork> getBannerArtworks(int i);

    List<Artwork> getRelatedArtworkList(DepartContentSection departContentSection, Integer count);

    List<Artwork> getArtistRelatedArtworkList(ArtistContentSection artistContentSection, Integer count);

    List<Artwork> getArtworkByName(Artwork artwork);

    IPage<Artwork> getPage(Integer currentPage, Integer artWorkSize, Artwork artwork);

    Artwork getArtWorkById(Integer id);

    /**
     * 11111
     * @param searchItem
     * @param currentPage
     * @return
     */
    IPage<Artwork> getRelatedArtworkPageList(Artwork searchItem, Integer currentPage,Integer size);

    List<ArtType> getArtistRelatedArtworkArtTypegetPageList(Integer currentPage, Integer artWorkSize, Artwork artwork);

    IPage<Artwork> getEventExhibitionRelatedArtworkPageList(Artwork searchItem, Integer currentPage);

    List<Artwork> getEventExhibitionRelatedArtworkList(EventExhibitionContentSection eventExhibitionContentSection, Integer count);

    List<Artwork> getRelatedArtworkArtTypegetList(Artwork searchItem);

    IPage<Artwork> getDepartRelatedArtworkPageList(Artwork searchItem, Integer currentPage,Integer size);

    List<Artwork> getDepartRelatedArtworkTypegetList(Artwork searchItem);
}
